package com.lx.gulimall.auth.feign;

import com.lx.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.Mapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @author lixun Email:lx3027@126.com
 * @create 2021-08-03 9:20
 */
@FeignClient("gulimall-third-party")
public interface ThirdPartyFeign {

    @GetMapping("/third/party/sms/sendcode")
    R sendCode(@RequestParam("phone") String phone, @RequestParam("code") String code);

}
